package br.com.saojose.main;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import br.com.saojose.db.Database;

public class SaoJoseAppActivity extends Activity {
	
	public static Database db = new Database();
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
    

    public void controleCombustivel(View v) {
    	Intent intent = new Intent(Intent.ACTION_VIEW);
    	intent.setClassName(this, ControleDeCombustivelActivity.class.getName());
    	startActivity(intent);
    }
    

    public void listarAbastecimentos(View v) {
    	Intent intent = new Intent(Intent.ACTION_VIEW);
    	intent.setClassName(this, ListarAbastecimentosActivity.class.getName());
    	startActivity(intent);
    }
    
}